function comment(){
	var reviewContent = $("#textCom").val();
	var techId = GetQueryString('techId');
	var unId = GetQueryString('needId');

	//var euId =  ${param.techId};
	$.ajax({
		url:Server +"/res/need/techComment",
		data:{
			"reviewContent":reviewContent,
			"techId":techId,
			"euId": $("#useridoflogin").val(),
			"unId":unId,
		},
		type:"POST",
		success : function(data){
			alert("添加成功");
			$(location).attr('href', 'new_file8?needId=' + unId + '');
		},
		error : function(msg) {
			alert("添加失败");
		}
	})
}
function GetQueryString(name) {
	var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)");
	var r = window.location.search.substr(1).match(reg);
	if(r != null) return unescape(r[2]);
	return null;
}
